<nav class="navbar navbar-default no-radius mb0">
  <div class="container-fluid">
    <!-- Brand and toggle get grouped for better mobile display -->
    <div class="navbar-header">
      <button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#bs-example-navbar-collapse-1">
        <span class="sr-only">LNH运维平台</span>
        <span class="icon-bar"></span>
        <span class="icon-bar"></span>
        <span class="icon-bar"></span>
      </button>
      <a class="navbar-brand" href="/home/index/">LNH运维平台</a>
    </div>

    <!-- Collect the nav links, forms, and other content for toggling -->
    <div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1">
      <ul class="nav navbar-nav">
          <li id="top_menu_asset"><a href="/asset/lists/">资产管理 <span class="sr-only">(current)</span></a></li>
          <li id="top_menu_pool"><a href="/pool/ipaddr/">IP资源池</a></li>
          <li id="top_menu_dns"><a href="/dns/host/">DNS</a></li>
          <li id="top_menu_config"><a href="#">配置管理</a></li>
          <li id="top_menu_openstack"><a href="#">OpenStack</a></li>
          <li id="top_menu_task"><a href="#">任务管理 <span class="badge bg-danger">4</span></a></li>
          <li id='top_menu_overflow' class="dropdown">
              <a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-expanded="false">流程审批 <span class="badge bg-success">2</span> <span class="caret"></span></a>
              <ul class="dropdown-menu" role="menu">
                  <li><a href="#">服务器申请</a></li>
                  <li><a href="#">上线申请</a></li>
                  <li><a href="#">下线申请</a></li>
                  <li class="divider"></li>
                  <li><a href="#">流程处理</a></li>
              </ul>
          </li>
      </ul>

      <ul class="nav navbar-nav navbar-right">
        <li class="dropdown">
          <a title="{{ username }}" href="#" class="dropdown-toggle user-favicon" data-toggle="dropdown" role="button" aria-expanded="false">
              <img src="/static/images/default.png" alt="用户信息" class="img-circle user-img">
          </a>
          <ul class="dropdown-menu" role="menu">
            <li><a href="#">我的资料</a></li>
            <li><a href="#">待办事项</a></li>
            <li class="divider"></li>
            <li><a href="/account/logout/">退出</a></li>
          </ul>
        </li>
      </ul>
    </div><!-- /.navbar-collapse -->
  </div><!-- /.container-fluid -->
</nav>
